# 引用nginx 镜像用于部署前端应用
FROM harbor.cn.wal-mart.com/base-image/nginx:1.19.6-alpine
LABEL NGINX="1.19.6"

ENV TZ=Asia/Shanghai

# 将cniav-ui dist 目录拷贝到镜像里
COPY dist/ /usr/share/nginx/html/

# COPY src/assets/image/ /usr/share/nginx/image/

EXPOSE 9999

# 容器启动命令
CMD nginx -g 'daemon off;'